{extend name="admin/layout" /}
{block name="main"}
<div id="main-container">
    <div id="breadcrumb">
        <ul class="breadcrumb">
            <li><i class="fa fa-home"></i><a href="/"> 首页</a></li>
            <li><i class="fa fa-desktop"></i><a href="{:url('index')}"> 管理后台</a></li>
            <li class="active">邮箱配置</li>
        </ul>
    </div><!-- /breadcrumb-->
    <div class="main-header clearfix">
        <div class="page-title">
            <h3 class="no-margin">邮箱配置</h3>
        </div><!-- /page-title -->
    </div>
    <div class="padding-md">
        <div class="row">
            <div class="col-lg-12">
                <div class="panel panel-warning">
                    <div class="panel-heading">
                        邮箱配置
                    </div>
                    <div class="panel-body">
                        <form method="post" class="form-horizontal">
                            <div class="form-group">
                                <label class="col-lg-3 control-label">SMTP服务器</label>
                                <div class="col-lg-8">
                                    <input type="text" name="email_host" class="form-control"
                                           value="{:config('zz_email_host')}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label">端口</label>
                                <div class="col-lg-8">
                                    <input type="text" name="email_port" class="form-control"
                                           value="{:config('zz_email_port')}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label">邮箱账号</label>
                                <div class="col-lg-8">
                                    <input type="text" name="email_user" class="form-control"
                                           value="{:config('zz_email_user')}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label">密码</label>
                                <div class="col-lg-8">
                                    <input type="text" name="email_pwd" class="form-control"
                                           value="{:config('zz_email_pwd')}">
                                </div>
                            </div>

                            <div class="form-group">
                                <div class="col-lg-offset-3 col-lg-8">
                                    <button class="btn btn-primary" type="submit">保存配置</button>
                                    <button class="btn btn-default-outline" type="reset">重置</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}
